// InitFunction.h: interface for the InitFunction class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_INITFUNCTION_H__056C6915_8D45_4A15_9ACF_07D95D6271F5__INCLUDED_)
#define AFX_INITFUNCTION_H__056C6915_8D45_4A15_9ACF_07D95D6271F5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "FunctionObject.h"
#include "afxtempl.h"

class DllExport InitFunction : public FunctionObject  
{
	DECLARE_DYNAMIC_CREATE(InitFunction);

	struct Pair{
		CString strSymbol;
		CString strValue;
	};

public:
	InitFunction();
	virtual ~InitFunction();

public:
	void Add(const CString& strSymbol, const CString& strValue);

public:
	virtual BOOL Execute();

private:
	CArray<Pair*, Pair*> m_theInitValues;
};

#endif // !defined(AFX_INITFUNCTION_H__056C6915_8D45_4A15_9ACF_07D95D6271F5__INCLUDED_)
